GetTextServiceLanguage
TheGetTextServiceLanguage
function returns the language supported by the default (current) input method text service component for the current keyboard script.
FUNCTION GetTextServiceLanguage (VAR slRecord: ScriptLanguageRecord): OSErr;
slRecord
- A script-language record that, upon completion of the call, describes the language supported by the current text service component.
RESULT CODES
noErr No error